eKOK Dokumentacja Integracyjna
0.4.0 - draft Poland flag

Profil zasobu: PLeKOKDeviceInspectionFormResponse

Logiczny url: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/pl-ekok-device-inspection-form-response Wersja: 0.4.0
Active z dnia 2026-02-16 Nazwa: PLeKOKDeviceInspectionFormResponse

Profil zasobu zawierający zakres danych dotyczący odpowiedzi na formularz kontroli urządzenia wszczepialnego do elektroterapii serca

Usages:

  • This Profile is not used by any profiles in this Implementation Guide

You can also check for usages in the FHIR IG Statistics

Profil

Opis sposobu prezentacji profilu ujęty jest w specyfikacji standardu FHIR.

Struktura bazuje na QuestionnaireResponse

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. QuestionnaireResponse 0..* QuestionnaireResponse A structured set of questions and their answers
... id 0..1 id Identyfikator logiczny zasobu (wartość nadawana przez system P1)
... meta 1..1 Meta Metadane zasobu
.... id 0..0
.... extension 0..0
.... versionId 0..1 id Wersja zasobu (wartość ustawiana przez system P1)
.... lastUpdated 0..1 instant Data aktualizacji zasobu (wartość ustawiana przez system P1)
.... source 0..1 uri Identyfikator źródła zasobu (wartość ustawiana przez system, przy rejestracji lub aktualizacji zasobu)
.... profile 1..1 canonical(StructureDefinition) PLeKOKDeviceInspectionFormResponse
Fixed Value: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/pl-ekok-device-inspection-form-response
.... tag 0..0
... implicitRules 0..0
... text 0..0
... contained 0..0
... extension 0..0
... modifierExtension 0..0
... identifier 0..0
... basedOn 0..0
... partOf 0..0
... questionnaire 1..1 canonical(Questionnaire) Referencja do kwestionariusza definiującego pytania
Required Pattern: https://ezdrowie.gov.pl/ekok/fhir/Questionnaire/pl-ekok-device-inspection-form
... status 1..1 code Status wypełnienia formularza
Binding: PLeKOKQuestionnaireResponseStatusVS (required)
... subject 1..1 Reference(Resource) Dane pacjenta
.... id 0..0
.... extension 0..0
.... reference 1..1 string Referencja do zasobu Patient
.... type 1..1 uri Typ zasobu z danymi pacjenta (Patient)
Fixed Value: Patient
.... identifier 0..0
.... display 0..0
... encounter 0..0
... authored 1..1 dateTime Data wypełnienia
... author 0..0
... source 1..1 Reference(Patient | Practitioner | PractitionerRole | RelatedPerson) Dane lekarza przeprowadzającego kontrolę
.... id 0..0
.... extension 0..0
.... reference 0..0
.... type 0..0
.... identifier 1..1 Identifier Identyfikator pracownika medycznego
..... id 0..0
..... extension 0..0
..... use 0..0
..... type 0..0
..... system 1..1 uri System identyfikacji pracowników medycznych
..... value 1..1 string Identyfikator pracownika medycznego
..... period 0..0
..... assigner 0..0
.... display 1..1 string Text alternative for the resource
..... id 0..0
..... Slices for extension 2..* Extension Extension
Slice: Unordered, Open by value:url
...... extension:familyName 1..1 (Complex) Nazwisko
URL: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/reference-display-family-name
....... id 0..0
....... value[x] 1..1 string Nazwisko
...... extension:givenName 1..* (Complex) Imiona
URL: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/reference-display-given-name
....... id 0..0
....... value[x] 1..1 string Imię
..... value 0..0
... item 0..* BackboneElement Element ankiety
.... extension 0..0
.... modifierExtension 0..0
.... linkId 1..1 string Identyfikator pytania
.... definition 0..0
.... text 1..1 string Treść pytania z definicji ankiety.
.... answer 0..* BackboneElement Odpowiedź
..... extension 0..0
..... modifierExtension 0..0
..... Slices for value[x] 0..1 Single-valued answer to the question
Slice: Unordered, Open by type:$this
...... valueBoolean boolean
...... valueInteger integer
...... valueString string
...... valueQuantity Quantity
...... value[x]:valueString 0..1 string Wartość odpowiedzi na formularzu: tekst
...... value[x]:valueBoolean 0..1 boolean Wartość odpowiedzi na formularzu: tak/nie
...... value[x]:valueInteger 0..1 integer Wartość odpowiedzi na formularzu: liczba
...... value[x]:valueQuantity 0..1 Quantity Wartość odpowiedzi na formularzu: liczba z jednostką miary
....... value 1..1 decimal Wartość
....... comparator 0..0
....... unit 1..1 string Jednostka
Binding: PLeKOKQuantityUnitsVS (required)
....... system 0..0
....... code 0..0

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
QuestionnaireResponse.​status Base required PLeKOKQuestionnaireResponseStatusVS 📦0.4.0 This IG
QuestionnaireResponse.​item.answer.value[x]:valueQuantity.​unit Base required PLeKOKQuantityUnitsVS 📦0.4.0 This IG
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. QuestionnaireResponse 0..* QuestionnaireResponse A structured set of questions and their answers
... id Σ 0..1 id Identyfikator logiczny zasobu (wartość nadawana przez system P1)
... meta Σ 1..1 Meta Metadane zasobu
.... extension 0..0
.... versionId Σ 0..1 id Wersja zasobu (wartość ustawiana przez system P1)
.... lastUpdated Σ 0..1 instant Data aktualizacji zasobu (wartość ustawiana przez system P1)
.... source Σ 0..1 uri Identyfikator źródła zasobu (wartość ustawiana przez system, przy rejestracji lub aktualizacji zasobu)
.... profile Σ 1..1 canonical(StructureDefinition) PLeKOKDeviceInspectionFormResponse

Fixed Value: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/pl-ekok-device-inspection-form-response
... questionnaire Σ 1..1 canonical(Questionnaire) Referencja do kwestionariusza definiującego pytania
Required Pattern: https://ezdrowie.gov.pl/ekok/fhir/Questionnaire/pl-ekok-device-inspection-form
... subject Σ 1..1 Reference(Resource) Dane pacjenta
.... extension 0..0
.... reference ΣC 1..1 string Referencja do zasobu Patient
.... type Σ 1..1 uri Typ zasobu z danymi pacjenta (Patient)
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Fixed Value: Patient
... authored Σ 1..1 dateTime Data wypełnienia
... source Σ 1..1 Reference(Patient | Practitioner | PractitionerRole | RelatedPerson) Dane lekarza przeprowadzającego kontrolę
.... extension 0..0
.... identifier Σ 1..1 Identifier Identyfikator pracownika medycznego
..... extension 0..0
..... system Σ 1..1 uri System identyfikacji pracowników medycznych
Example General: http://www.acme.com/identifiers/patient
..... value Σ 1..1 string Identyfikator pracownika medycznego
Example General: 123456
.... display Σ 1..1 string Text alternative for the resource
..... Slices for extension 2..* Extension Extension
Slice: Unordered, Open by value:url
...... extension:familyName 1..1 (Complex) Nazwisko
URL: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/reference-display-family-name
....... extension 0..0
....... url 1..1 uri "https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/reference-display-family-name"
....... value[x] 1..1 string Nazwisko
...... extension:givenName 1..* (Complex) Imiona
URL: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/reference-display-given-name
....... extension 0..0
....... url 1..1 uri "https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/reference-display-given-name"
....... value[x] 1..1 string Imię
... item C 0..* BackboneElement Element ankiety
Constraints: qrs-1
.... linkId 1..1 string Identyfikator pytania
.... text 1..1 string Treść pytania z definicji ankiety.
.... answer 0..* BackboneElement Odpowiedź
..... Slices for value[x] 0..1 Single-valued answer to the question
Slice: Unordered, Closed by type:$this
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
...... valueBoolean boolean
...... valueInteger integer
...... valueString string
...... valueQuantity Quantity
...... value[x]:valueString 0..1 string Wartość odpowiedzi na formularzu: tekst
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
...... value[x]:valueBoolean 0..1 boolean Wartość odpowiedzi na formularzu: tak/nie
...... value[x]:valueInteger 0..1 integer Wartość odpowiedzi na formularzu: liczba
...... value[x]:valueQuantity 0..1 Quantity Wartość odpowiedzi na formularzu: liczba z jednostką miary
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
....... value Σ 1..1 decimal Wartość
....... unit Σ 1..1 string Jednostka
Binding: PLeKOKQuantityUnitsVS (required)

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
QuestionnaireResponse.​status Base required PLeKOKQuestionnaireResponseStatusVS 📦0.4.0 This IG
QuestionnaireResponse.​subject.type Base extensible ResourceType 📍4.0.1 FHIR Std.
QuestionnaireResponse.​item.answer.value[x] Base example Questionnaire Answer Codes 📍4.0.1 FHIR Std.
QuestionnaireResponse.​item.answer.value[x]:valueString Base example Questionnaire Answer Codes 📍4.0.1 FHIR Std.
QuestionnaireResponse.​item.answer.value[x]:valueQuantity Base example Questionnaire Answer Codes 📍4.0.1 FHIR Std.
QuestionnaireResponse.​item.answer.value[x]:valueQuantity.​unit Base required PLeKOKQuantityUnitsVS 📦0.4.0 This IG

Constraints

Id Grade Path(s) Description Expression
dom-2 error QuestionnaireResponse If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error QuestionnaireResponse If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error QuestionnaireResponse If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error QuestionnaireResponse If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice QuestionnaireResponse A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
qrs-1 error QuestionnaireResponse.item Nested item can't be beneath both item and answer (answer.exists() and item.exists()).not()
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. QuestionnaireResponse 0..* QuestionnaireResponse A structured set of questions and their answers
... id Σ 0..1 id Identyfikator logiczny zasobu (wartość nadawana przez system P1)
... meta Σ 1..1 Meta Metadane zasobu
.... extension 0..0
.... versionId Σ 0..1 id Wersja zasobu (wartość ustawiana przez system P1)
.... lastUpdated Σ 0..1 instant Data aktualizacji zasobu (wartość ustawiana przez system P1)
.... source Σ 0..1 uri Identyfikator źródła zasobu (wartość ustawiana przez system, przy rejestracji lub aktualizacji zasobu)
.... profile Σ 1..1 canonical(StructureDefinition) PLeKOKDeviceInspectionFormResponse

Fixed Value: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/pl-ekok-device-inspection-form-response
.... security Σ 0..* Coding Security Labels applied to this resource
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
... questionnaire Σ 1..1 canonical(Questionnaire) Referencja do kwestionariusza definiującego pytania
Required Pattern: https://ezdrowie.gov.pl/ekok/fhir/Questionnaire/pl-ekok-device-inspection-form
... subject Σ 1..1 Reference(Resource) Dane pacjenta
.... extension 0..0
.... reference ΣC 1..1 string Referencja do zasobu Patient
.... type Σ 1..1 uri Typ zasobu z danymi pacjenta (Patient)
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Fixed Value: Patient
... authored Σ 1..1 dateTime Data wypełnienia
... source Σ 1..1 Reference(Patient | Practitioner | PractitionerRole | RelatedPerson) Dane lekarza przeprowadzającego kontrolę
.... extension 0..0
.... identifier Σ 1..1 Identifier Identyfikator pracownika medycznego
..... extension 0..0
..... system Σ 1..1 uri System identyfikacji pracowników medycznych
Example General: http://www.acme.com/identifiers/patient
..... value Σ 1..1 string Identyfikator pracownika medycznego
Example General: 123456
.... display Σ 1..1 string Text alternative for the resource
..... Slices for extension 2..* Extension Extension
Slice: Unordered, Open by value:url
...... extension:familyName 1..1 (Complex) Nazwisko
URL: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/reference-display-family-name
....... extension 0..0
....... url 1..1 uri "https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/reference-display-family-name"
....... value[x] 1..1 string Nazwisko
...... extension:givenName 1..* (Complex) Imiona
URL: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/reference-display-given-name
....... extension 0..0
....... url 1..1 uri "https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/reference-display-given-name"
....... value[x] 1..1 string Imię
... item C 0..* BackboneElement Element ankiety
Constraints: qrs-1
.... id 0..1 string Unique id for inter-element referencing
.... linkId 1..1 string Identyfikator pytania
.... text 1..1 string Treść pytania z definicji ankiety.
.... answer 0..* BackboneElement Odpowiedź
..... id 0..1 string Unique id for inter-element referencing
..... Slices for value[x] 0..1 Single-valued answer to the question
Slice: Unordered, Closed by type:$this
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
...... valueBoolean boolean
...... valueInteger integer
...... valueString string
...... valueQuantity Quantity
...... value[x]:valueString 0..1 string Wartość odpowiedzi na formularzu: tekst
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
...... value[x]:valueBoolean 0..1 boolean Wartość odpowiedzi na formularzu: tak/nie
...... value[x]:valueInteger 0..1 integer Wartość odpowiedzi na formularzu: liczba
...... value[x]:valueQuantity 0..1 Quantity Wartość odpowiedzi na formularzu: liczba z jednostką miary
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
....... value Σ 1..1 decimal Wartość
....... unit Σ 1..1 string Jednostka
Binding: PLeKOKQuantityUnitsVS (required)
..... item 0..* See item (QuestionnaireResponse) Nested groups and questions
.... item 0..* See item (QuestionnaireResponse) Nested questionnaire response items

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
QuestionnaireResponse.​meta.security Base extensible SecurityLabels 📍4.0.1 FHIR Std.
QuestionnaireResponse.​status Base required PLeKOKQuestionnaireResponseStatusVS 📦0.4.0 This IG
QuestionnaireResponse.​subject.type Base extensible ResourceType 📍4.0.1 FHIR Std.
QuestionnaireResponse.​item.answer.value[x] Base example Questionnaire Answer Codes 📍4.0.1 FHIR Std.
QuestionnaireResponse.​item.answer.value[x]:valueString Base example Questionnaire Answer Codes 📍4.0.1 FHIR Std.
QuestionnaireResponse.​item.answer.value[x]:valueQuantity Base example Questionnaire Answer Codes 📍4.0.1 FHIR Std.
QuestionnaireResponse.​item.answer.value[x]:valueQuantity.​unit Base required PLeKOKQuantityUnitsVS 📦0.4.0 This IG

Constraints

Id Grade Path(s) Description Expression
dom-2 error QuestionnaireResponse If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error QuestionnaireResponse If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error QuestionnaireResponse If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error QuestionnaireResponse If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice QuestionnaireResponse A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
qrs-1 error QuestionnaireResponse.item Nested item can't be beneath both item and answer (answer.exists() and item.exists()).not()

Struktura bazuje na QuestionnaireResponse

Summary

Mandatory: 14 elements(3 nested mandatory elements)
Fixed: 2 elements
Prohibited: 40 elements

Extensions

This structure refers to these extensions:

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of QuestionnaireResponse.item.answer.value[x]

Widok Differential

Struktura bazuje na QuestionnaireResponse

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. QuestionnaireResponse 0..* QuestionnaireResponse A structured set of questions and their answers
... id 0..1 id Identyfikator logiczny zasobu (wartość nadawana przez system P1)
... meta 1..1 Meta Metadane zasobu
.... id 0..0
.... extension 0..0
.... versionId 0..1 id Wersja zasobu (wartość ustawiana przez system P1)
.... lastUpdated 0..1 instant Data aktualizacji zasobu (wartość ustawiana przez system P1)
.... source 0..1 uri Identyfikator źródła zasobu (wartość ustawiana przez system, przy rejestracji lub aktualizacji zasobu)
.... profile 1..1 canonical(StructureDefinition) PLeKOKDeviceInspectionFormResponse
Fixed Value: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/pl-ekok-device-inspection-form-response
.... tag 0..0
... implicitRules 0..0
... text 0..0
... contained 0..0
... extension 0..0
... modifierExtension 0..0
... identifier 0..0
... basedOn 0..0
... partOf 0..0
... questionnaire 1..1 canonical(Questionnaire) Referencja do kwestionariusza definiującego pytania
Required Pattern: https://ezdrowie.gov.pl/ekok/fhir/Questionnaire/pl-ekok-device-inspection-form
... status 1..1 code Status wypełnienia formularza
Binding: PLeKOKQuestionnaireResponseStatusVS (required)
... subject 1..1 Reference(Resource) Dane pacjenta
.... id 0..0
.... extension 0..0
.... reference 1..1 string Referencja do zasobu Patient
.... type 1..1 uri Typ zasobu z danymi pacjenta (Patient)
Fixed Value: Patient
.... identifier 0..0
.... display 0..0
... encounter 0..0
... authored 1..1 dateTime Data wypełnienia
... author 0..0
... source 1..1 Reference(Patient | Practitioner | PractitionerRole | RelatedPerson) Dane lekarza przeprowadzającego kontrolę
.... id 0..0
.... extension 0..0
.... reference 0..0
.... type 0..0
.... identifier 1..1 Identifier Identyfikator pracownika medycznego
..... id 0..0
..... extension 0..0
..... use 0..0
..... type 0..0
..... system 1..1 uri System identyfikacji pracowników medycznych
..... value 1..1 string Identyfikator pracownika medycznego
..... period 0..0
..... assigner 0..0
.... display 1..1 string Text alternative for the resource
..... id 0..0
..... Slices for extension 2..* Extension Extension
Slice: Unordered, Open by value:url
...... extension:familyName 1..1 (Complex) Nazwisko
URL: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/reference-display-family-name
....... id 0..0
....... value[x] 1..1 string Nazwisko
...... extension:givenName 1..* (Complex) Imiona
URL: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/reference-display-given-name
....... id 0..0
....... value[x] 1..1 string Imię
..... value 0..0
... item 0..* BackboneElement Element ankiety
.... extension 0..0
.... modifierExtension 0..0
.... linkId 1..1 string Identyfikator pytania
.... definition 0..0
.... text 1..1 string Treść pytania z definicji ankiety.
.... answer 0..* BackboneElement Odpowiedź
..... extension 0..0
..... modifierExtension 0..0
..... Slices for value[x] 0..1 Single-valued answer to the question
Slice: Unordered, Open by type:$this
...... valueBoolean boolean
...... valueInteger integer
...... valueString string
...... valueQuantity Quantity
...... value[x]:valueString 0..1 string Wartość odpowiedzi na formularzu: tekst
...... value[x]:valueBoolean 0..1 boolean Wartość odpowiedzi na formularzu: tak/nie
...... value[x]:valueInteger 0..1 integer Wartość odpowiedzi na formularzu: liczba
...... value[x]:valueQuantity 0..1 Quantity Wartość odpowiedzi na formularzu: liczba z jednostką miary
....... value 1..1 decimal Wartość
....... comparator 0..0
....... unit 1..1 string Jednostka
Binding: PLeKOKQuantityUnitsVS (required)
....... system 0..0
....... code 0..0

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
QuestionnaireResponse.​status Base required PLeKOKQuestionnaireResponseStatusVS 📦0.4.0 This IG
QuestionnaireResponse.​item.answer.value[x]:valueQuantity.​unit Base required PLeKOKQuantityUnitsVS 📦0.4.0 This IG

Widok kluczowych elementów

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. QuestionnaireResponse 0..* QuestionnaireResponse A structured set of questions and their answers
... id Σ 0..1 id Identyfikator logiczny zasobu (wartość nadawana przez system P1)
... meta Σ 1..1 Meta Metadane zasobu
.... extension 0..0
.... versionId Σ 0..1 id Wersja zasobu (wartość ustawiana przez system P1)
.... lastUpdated Σ 0..1 instant Data aktualizacji zasobu (wartość ustawiana przez system P1)
.... source Σ 0..1 uri Identyfikator źródła zasobu (wartość ustawiana przez system, przy rejestracji lub aktualizacji zasobu)
.... profile Σ 1..1 canonical(StructureDefinition) PLeKOKDeviceInspectionFormResponse

Fixed Value: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/pl-ekok-device-inspection-form-response
... questionnaire Σ 1..1 canonical(Questionnaire) Referencja do kwestionariusza definiującego pytania
Required Pattern: https://ezdrowie.gov.pl/ekok/fhir/Questionnaire/pl-ekok-device-inspection-form
... subject Σ 1..1 Reference(Resource) Dane pacjenta
.... extension 0..0
.... reference ΣC 1..1 string Referencja do zasobu Patient
.... type Σ 1..1 uri Typ zasobu z danymi pacjenta (Patient)
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Fixed Value: Patient
... authored Σ 1..1 dateTime Data wypełnienia
... source Σ 1..1 Reference(Patient | Practitioner | PractitionerRole | RelatedPerson) Dane lekarza przeprowadzającego kontrolę
.... extension 0..0
.... identifier Σ 1..1 Identifier Identyfikator pracownika medycznego
..... extension 0..0
..... system Σ 1..1 uri System identyfikacji pracowników medycznych
Example General: http://www.acme.com/identifiers/patient
..... value Σ 1..1 string Identyfikator pracownika medycznego
Example General: 123456
.... display Σ 1..1 string Text alternative for the resource
..... Slices for extension 2..* Extension Extension
Slice: Unordered, Open by value:url
...... extension:familyName 1..1 (Complex) Nazwisko
URL: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/reference-display-family-name
....... extension 0..0
....... url 1..1 uri "https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/reference-display-family-name"
....... value[x] 1..1 string Nazwisko
...... extension:givenName 1..* (Complex) Imiona
URL: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/reference-display-given-name
....... extension 0..0
....... url 1..1 uri "https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/reference-display-given-name"
....... value[x] 1..1 string Imię
... item C 0..* BackboneElement Element ankiety
Constraints: qrs-1
.... linkId 1..1 string Identyfikator pytania
.... text 1..1 string Treść pytania z definicji ankiety.
.... answer 0..* BackboneElement Odpowiedź
..... Slices for value[x] 0..1 Single-valued answer to the question
Slice: Unordered, Closed by type:$this
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
...... valueBoolean boolean
...... valueInteger integer
...... valueString string
...... valueQuantity Quantity
...... value[x]:valueString 0..1 string Wartość odpowiedzi na formularzu: tekst
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
...... value[x]:valueBoolean 0..1 boolean Wartość odpowiedzi na formularzu: tak/nie
...... value[x]:valueInteger 0..1 integer Wartość odpowiedzi na formularzu: liczba
...... value[x]:valueQuantity 0..1 Quantity Wartość odpowiedzi na formularzu: liczba z jednostką miary
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
....... value Σ 1..1 decimal Wartość
....... unit Σ 1..1 string Jednostka
Binding: PLeKOKQuantityUnitsVS (required)

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
QuestionnaireResponse.​status Base required PLeKOKQuestionnaireResponseStatusVS 📦0.4.0 This IG
QuestionnaireResponse.​subject.type Base extensible ResourceType 📍4.0.1 FHIR Std.
QuestionnaireResponse.​item.answer.value[x] Base example Questionnaire Answer Codes 📍4.0.1 FHIR Std.
QuestionnaireResponse.​item.answer.value[x]:valueString Base example Questionnaire Answer Codes 📍4.0.1 FHIR Std.
QuestionnaireResponse.​item.answer.value[x]:valueQuantity Base example Questionnaire Answer Codes 📍4.0.1 FHIR Std.
QuestionnaireResponse.​item.answer.value[x]:valueQuantity.​unit Base required PLeKOKQuantityUnitsVS 📦0.4.0 This IG

Constraints

Id Grade Path(s) Description Expression
dom-2 error QuestionnaireResponse If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error QuestionnaireResponse If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error QuestionnaireResponse If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error QuestionnaireResponse If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice QuestionnaireResponse A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
qrs-1 error QuestionnaireResponse.item Nested item can't be beneath both item and answer (answer.exists() and item.exists()).not()

Widok Snapshot

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. QuestionnaireResponse 0..* QuestionnaireResponse A structured set of questions and their answers
... id Σ 0..1 id Identyfikator logiczny zasobu (wartość nadawana przez system P1)
... meta Σ 1..1 Meta Metadane zasobu
.... extension 0..0
.... versionId Σ 0..1 id Wersja zasobu (wartość ustawiana przez system P1)
.... lastUpdated Σ 0..1 instant Data aktualizacji zasobu (wartość ustawiana przez system P1)
.... source Σ 0..1 uri Identyfikator źródła zasobu (wartość ustawiana przez system, przy rejestracji lub aktualizacji zasobu)
.... profile Σ 1..1 canonical(StructureDefinition) PLeKOKDeviceInspectionFormResponse

Fixed Value: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/pl-ekok-device-inspection-form-response
.... security Σ 0..* Coding Security Labels applied to this resource
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
... questionnaire Σ 1..1 canonical(Questionnaire) Referencja do kwestionariusza definiującego pytania
Required Pattern: https://ezdrowie.gov.pl/ekok/fhir/Questionnaire/pl-ekok-device-inspection-form
... subject Σ 1..1 Reference(Resource) Dane pacjenta
.... extension 0..0
.... reference ΣC 1..1 string Referencja do zasobu Patient
.... type Σ 1..1 uri Typ zasobu z danymi pacjenta (Patient)
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Fixed Value: Patient
... authored Σ 1..1 dateTime Data wypełnienia
... source Σ 1..1 Reference(Patient | Practitioner | PractitionerRole | RelatedPerson) Dane lekarza przeprowadzającego kontrolę
.... extension 0..0
.... identifier Σ 1..1 Identifier Identyfikator pracownika medycznego
..... extension 0..0
..... system Σ 1..1 uri System identyfikacji pracowników medycznych
Example General: http://www.acme.com/identifiers/patient
..... value Σ 1..1 string Identyfikator pracownika medycznego
Example General: 123456
.... display Σ 1..1 string Text alternative for the resource
..... Slices for extension 2..* Extension Extension
Slice: Unordered, Open by value:url
...... extension:familyName 1..1 (Complex) Nazwisko
URL: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/reference-display-family-name
....... extension 0..0
....... url 1..1 uri "https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/reference-display-family-name"
....... value[x] 1..1 string Nazwisko
...... extension:givenName 1..* (Complex) Imiona
URL: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/reference-display-given-name
....... extension 0..0
....... url 1..1 uri "https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/reference-display-given-name"
....... value[x] 1..1 string Imię
... item C 0..* BackboneElement Element ankiety
Constraints: qrs-1
.... id 0..1 string Unique id for inter-element referencing
.... linkId 1..1 string Identyfikator pytania
.... text 1..1 string Treść pytania z definicji ankiety.
.... answer 0..* BackboneElement Odpowiedź
..... id 0..1 string Unique id for inter-element referencing
..... Slices for value[x] 0..1 Single-valued answer to the question
Slice: Unordered, Closed by type:$this
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
...... valueBoolean boolean
...... valueInteger integer
...... valueString string
...... valueQuantity Quantity
...... value[x]:valueString 0..1 string Wartość odpowiedzi na formularzu: tekst
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
...... value[x]:valueBoolean 0..1 boolean Wartość odpowiedzi na formularzu: tak/nie
...... value[x]:valueInteger 0..1 integer Wartość odpowiedzi na formularzu: liczba
...... value[x]:valueQuantity 0..1 Quantity Wartość odpowiedzi na formularzu: liczba z jednostką miary
Binding: QuestionnaireAnswerCodes (example): Code indicating the response provided for a question.
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
....... value Σ 1..1 decimal Wartość
....... unit Σ 1..1 string Jednostka
Binding: PLeKOKQuantityUnitsVS (required)
..... item 0..* See item (QuestionnaireResponse) Nested groups and questions
.... item 0..* See item (QuestionnaireResponse) Nested questionnaire response items

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
QuestionnaireResponse.​meta.security Base extensible SecurityLabels 📍4.0.1 FHIR Std.
QuestionnaireResponse.​status Base required PLeKOKQuestionnaireResponseStatusVS 📦0.4.0 This IG
QuestionnaireResponse.​subject.type Base extensible ResourceType 📍4.0.1 FHIR Std.
QuestionnaireResponse.​item.answer.value[x] Base example Questionnaire Answer Codes 📍4.0.1 FHIR Std.
QuestionnaireResponse.​item.answer.value[x]:valueString Base example Questionnaire Answer Codes 📍4.0.1 FHIR Std.
QuestionnaireResponse.​item.answer.value[x]:valueQuantity Base example Questionnaire Answer Codes 📍4.0.1 FHIR Std.
QuestionnaireResponse.​item.answer.value[x]:valueQuantity.​unit Base required PLeKOKQuantityUnitsVS 📦0.4.0 This IG

Constraints

Id Grade Path(s) Description Expression
dom-2 error QuestionnaireResponse If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error QuestionnaireResponse If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error QuestionnaireResponse If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error QuestionnaireResponse If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice QuestionnaireResponse A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
qrs-1 error QuestionnaireResponse.item Nested item can't be beneath both item and answer (answer.exists() and item.exists()).not()

Struktura bazuje na QuestionnaireResponse

Summary

Mandatory: 14 elements(3 nested mandatory elements)
Fixed: 2 elements
Prohibited: 40 elements

Extensions

This structure refers to these extensions:

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of QuestionnaireResponse.item.answer.value[x]

 

Inne struktury profilu: CSV, Excel, Schematron